VERSION=0.7

SRC = README Makefile Notes.txt \
      Sensor.py ImgDist.py TkSID.py sens_sender.py sample*.py \
      takeBFLRkeysputback.sens \
      filters/*.py filters/order filters/active \
      filters_graphics/*.py filters_graphics/order filters_graphics/active \
      device_pys60/*.py \
      device_javame \
      device_android \
      client_pygame/pyg_sensor.py \
      client_c_cpp/*.[ch] client_c_cpp/*.cpp client_c_cpp/Makefile \
      client_java/*.java client_java/build.xml client_java/sensimg.jar

all:
	@echo "make dist to make distribution"

.PHONY: clean dist

clean:
	-/bin/rm *.pyc */*.pyc

dist: clean
	tar --transform 's,^,pysensor-$(VERSION)/,' -zcvf ../pysensor-$(VERSION).tgz $(SRC)
